package com.ruoyi.system.mapper;

import com.ruoyi.common.mybatis.core.mapper.BaseMapperPlus;
import com.ruoyi.system.domain.SysUserMessage;
import com.ruoyi.system.domain.vo.SysUserMessageVo;
import org.apache.ibatis.annotations.Param;

/**
 * 用户消息通知Mapper接口
 *
 * @author ruoyi
 * @date 2024-12-18
 */
public interface SysUserMessageMapper extends BaseMapperPlus<SysUserMessageMapper, SysUserMessage, SysUserMessageVo> {

    int clearUnRead(@Param("userId") Long userId);

    void deleteByInvestigationId(@Param("investigationId") Long investigationId);
}
